package com.project.controller;

import com.project.bean.ConferBean;
import com.project.service.IConferService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author RJ
 * @date 2022/9/16 10:16
 */
@RestController
@RequestMapping("confer")
public class ConferController {
    @Resource
    private IConferService conferService;

    @RequestMapping("add")
    public String addConfer(ConferBean conferBean, Integer thingId) {
        conferService.addConfer(conferBean, thingId);
        return "ok";
    }
}
